﻿using System;
using System.Collections.Generic;

namespace Camc.Quality.Bop.QualityDto
{
    /// <summary>
    /// 工序
    /// </summary>
    public class QualityProcessesDto
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 工艺文件Id
        /// </summary>
        public Guid TechniqueEntityId { get; set; }
        /// <summary>
        /// 原PPS工序ID
        /// </summary>
        public string OriginalProcessesId { get; set; }
        /// <summary>
        /// 工序说明
        /// </summary>
        public string ProcessesExplain { get; set; }
        /// <summary>
        /// 工序号
        /// </summary>
        public int ProcessesSequence { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessesName { get; set; }
        /// <summary>
        /// 工序工时
        /// </summary>
        public decimal ProcessesWorking { get; set; }
        /// <summary>
        /// 工序工种
        /// </summary>
        public string ProcessesType { get; set; }
        /// <summary>
        /// 工序性质
        /// </summary>
        public string ProcessesCharacteristic { get; set; }
        /// <summary>
        /// html内容
        /// </summary>
        public string F_HtmlContent { get; set; }
        /// <summary>
        /// URL
        /// </summary>
        public string URL { get; set; }

        public List<QualityWorkStepDto> WorkStepListDto { get; set; }
    }
    /// <summary>
    /// 工步
    /// </summary>
    public class QualityWorkStepDto
    {
        public Guid Id { get; set; }
        public Guid TechniqueEntityId { get; set; }
        public Guid ProcessesEntityId { get; set; }
        /// <summary>
        /// 原PPS工步ID
        /// </summary>
        public string OriginalWorkStepEntityId { get; set; }
        /// <summary>
        /// 工步序号
        /// </summary>
        public int WorkStepNumber { get; set; }
        /// <summary>
        /// 工步名称
        /// </summary>
        public string WorkStepName { get; set; }

        /// <summary>
        /// 工步序号名称
        /// </summary>
        public string WorkStepSerialName { get; set; }
        /// <summary>
        /// 工步内容
        /// </summary>
        public string WorkStepContent { get; set; }
        /// <summary>
        /// 工步公司
        /// </summary>
        public decimal WorkStepWorking { get; set; }
    }
}
